.qr-page,
.member-page {
  background: #f0f0f0;
  min-height: 100vh;
  padding: 112rpx 40rpx;
  box-sizing: border-box;
}

.member-page {
  display: flex;
}

.qr-wrap {
  width: 100%;
  background: #fff;
  border-radius: 40rpx;
  height: 1086rpx;
  box-shadow: 0rpx 2rpx 36rpx 0rpx rgba(0, 0, 0, 0.1000);
  position: relative;
  padding: 112rpx 84rpx 80rpx;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  .qr-avatar {
    position: absolute;
    left: 50%;
    top: 0;
    width: 144rpx;
    height: 144rpx;
    border-radius: 144rpx;
    transform: translate(-50%, -50%);
  }

  .qr-barimg {
    width: 100%;
    height: 120rpx;

    .barimg {
      width: 100%;
      height: 100%;
    }
  }

  .qr-code {
    font-size: 32rpx;
  }

  .qr-qrimg {
    width: 350rpx;
    height: 350rpx;

    .qrimg {
      width: 100%;
      height: 100%;
    }
  }

  .qr-name {
    font-size: 36rpx;
    color: #333;
    font-weight: 500;
  }

  .qr-tips {
    font-size: 28rpx;
    color: #8d8d8d;
  }

  .qr-btn {
    width: 328rpx;
    height: 68rpx;
    border-radius: 68rpx;
    background: var(--main-theme-color);
    color: #fff;
    font-size: 28rpx;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


.member-page {
  padding: 112rpx 32rpx;
}

.member-wrap {
  // width: 355px;
  min-height: 408rpx;
  max-height: calc(100vh - 400rpx);
  width: 100%;
  background: #fff;
  border-radius: 40rpx;
  box-shadow: 0rpx 2rpx 36rpx 0rpx rgba(0, 0, 0, 0.1000);
  position: relative;
  padding: 112rpx 28rpx 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  .logo {
    position: absolute;
    left: 50%;
    top: 0;
    width: 146rpx;
    height: 146rpx;
    border-radius: 146rpx;
    transform: translate(-50%, -50%);
    box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(0, 0, 0, 0.1000);
    flex-shrink: 0;
  }

  .title {
    line-height: 1;
    text-align: center;
    font-size: 36rpx;
    line-height: 44rpx;
    flex-shrink: 0;
  }

  .tips {
    margin-top: 20rpx;
    line-height: 1;
    text-align: center;
    color: #8D8D8D;
    font-size: 28rpx;
    flex-shrink: 0;
  }

  .reward {
    line-height: 1;
    background: #FCF3E9;
    border-radius: 12rpx;
    width: 100%;
    height: 88rpx;
    margin-top: 40rpx;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24rpx 0 30rpx;
    box-sizing: border-box;

    .reward-spacer {
      flex-grow: 1;
    }

    .reward-tips {
      display: flex;
      align-items: center;

      .reward-tips-text {
        font-size: 24rpx;
        color: #8D8D8D;
        margin-right: 8rpx;
      }
    }
  }

  .multi-reward {
    width: 100%;
    height: 148rpx;
    position: relative;
    color: var(--main-theme-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 32rpx 0;
    box-sizing: border-box;
    margin-top: 20rpx;
    border-radius: 12rpx;
    overflow: hidden;

    .first {
      font-size: 28rpx;
      font-weight: 500;
      color: var(--main-theme-color);
    }

    .second {
      font-size: 36rpx;
      font-weight: 500;
      color: var(--main-theme-color);
    }

    &::before {
      position: absolute;
      content: '';
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: var(--main-theme-color);
      opacity: .1;
      border-radius: 12rpx;
    }
  }

  .coupons {
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    margin-top: 32rpx;
  }

  .coupons-spacer {
    flex-grow: 1;
  }

  .coupons-scroll {
    padding-bottom: 200rpx;
  }

  .bottom {
    background: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 176rpx;
    display: flex;
    align-items: center;
    border-radius: 0 0 32rpx 32rpx;
    padding: 0 94rpx;
    box-sizing: border-box;

    .coupon-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 88rpx;
    }

    .coupon-btn+.coupon-btn {
      margin-left: 50rpx;
    }

    .text {
      background: #fff;
      color: var(--main-theme-color);
      font-size: 28rpx;
    }

    .primary {
      background: var(--main-theme-color);
      color: #fff;
      font-size: 28rpx;
      border-radius: 88rpx;
      flex-grow: 1;
    }
  }
}